package com.znsd.zl.browse.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.znsd.zl.browse.dao.THouseDao;
import com.znsd.zl.browse.entity.vo.THouseVo;
import com.znsd.zl.browse.service.THouseService;
import com.znsd.zl.house.entity.HouseEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName THouse
 * @Description 描述
 * @author xyx
 * @date 2020-08-22 22:42:12
 * @Version v1.0
 */
@Service("tHouseService")
public class THouseServiceImpl extends ServiceImpl<THouseDao, HouseEntity> implements THouseService {

	@Override
	public List<THouseVo> findHouse(Integer houseId){
		List<THouseVo> tHouseVos = baseMapper.findByBrowseId(houseId);
		for (int i = 0; i < tHouseVos.size(); i++) {
			System.out.println(tHouseVos.get(i).toString());
		}
		return tHouseVos;
	}
}
